//
//  ZCPaperManager.h
//  ListenAndRead
//
//  Created by TJXF-JY-ZHANGCHENG on 2017/9/25.
//  Copyright © 2017年 www.jsxfedu.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZCPaperManager : NSObject

@property(nonatomic,weak)UIViewController *rootViewController;
@property(nonatomic,strong)NSArray *THJLAnswerArray;
@property(nonatomic,strong)NSMutableDictionary *answerDic;
@property(nonatomic,copy)NSString *uuidPerDo;
@property(nonatomic,strong)NSDictionary *paperDic;
@property(nonatomic,copy)NSString *goodsId;
+(ZCPaperManager *)sharedInstance;

-(void)loadPaper:(NSString *)stringId andGoodsId:(NSString *)goodsId;

//-(UIViewController *)rootPaperViewControllerBySuperViewController:(UIViewController *)viewController;
//-(UIViewController *)nextPaperViewControllerWithCurrentAnswer:(NSDictionary *)currentAnswerDic;
//-(UIViewController *)nextPaperViewController;

-(BOOL)isLastQuestion;
-(NSString *)currentSectionTitle;
-(NSString *)currentSectionType;
-(NSString *)currentSectionName;
//-(NSString *)currentAudioFileName;

-(NSString *)currentRecordingDir;
-(NSString *)currentRecordingFilePath;
-(NSString *)currentRecordingFileName;

-(NSInteger)currentQuestionIndex;

-(NSNumber *)getAnswerTotalScore;
-(void)updateCurrentAnswerDic:(NSDictionary *)currentAnswerDic;
-(void)renameCurrentRecordFileDirBy:(NSString *)reportId;

-(NSString *)currentPaperType;
-(BOOL)currentPaperIsZXXL;

-(void)updateCurrentSectionEvaluate;
-(void)updatePaperEvaluate;
-(NSArray *)initailSentenseArrayForOrigionReportCardDic:(NSDictionary *)origionReportCardDic;

@end
